cmake_minimum_required(VERSION 3.29)
project(SIMBL)

# 设置C++标准
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 设置编译器和链接器选项
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++ -static")

# 添加可执行文件
add_executable(SIMBL
        main.cpp
        src/VirtualMachine.h
        src/VirtualMachine.cpp
        src/Readini.h
        src/Readini.cpp
        src/analysis/Analysis.h
        src/analysis/Lexer.h
        src/file/GetContents.h
)

# 添加依赖库路径（如果需要）
# link_directories(D:/w64devkit/lib)

# 添加依赖库（如果需要）
# target_link_libraries(SIMBL PRIVATE some_library)
    